//
//  SelectTribes.m
//  PigMarket
//
//  Created by mac on 2019/4/23.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import "SelectTribes.h"

@implementation SelectTribesList

- (NSString *)description
{
    return [NSString yy_modelDescription];
}


+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"list" : [SelectTribes class]
             };
}

@end


@implementation SelectTribes

- (NSString *)description
{
    return [NSString yy_modelDescription];
}


+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"city" : [CityItem class]
             };
}

@end


@implementation CityItem

- (NSString *)description
{
    return [NSString yy_modelDescription];
}


+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"area" : [AreaItem class]
             };
}


@end

@implementation AreaItem

- (NSString *)description
{
    return [NSString yy_modelDescription];
}


+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"tribe" : [TribeItem class]
             };
}


@end


@implementation TribeItem

- (NSString *)description
{
    return [NSString yy_modelDescription];
}


@end


@implementation RangeSelectModel

- (instancetype)init{
    
    self = [super init];
    if (self) {
        _province = -1;
        _city = -1;
        _country = -1;
        _tribal = -1;
    }
    return self;
}

@end
